
                    <form method="post" enctype="multipart/form-data" target="_blank" id="form-order">
                        <div class="table-responsive">
                            <table class="table table-bordered table-hover" style="font-size:12px;">
                                <thead>
                                <tr>
                                    <td class="text-center">订单编号</td>
                                   
                                    <td class="text-center">用户信息</td>
                                    <td class="text-center">充值金额</td>
                                    <td class="text-center">订单状态</td>
                                    <td class="text-center">付款信息</td>
									<td class="text-center">
                                        <a href="javascript:sort('add_time');">下单时间</a>
                                    </td>
                                    <!--<td class="text-center">操作</td>-->
                                </tr>
                                </thead>
                                <tbody>
                                <volist name="orderList" id="list">
                                    <tr>
                                        
                                        <td class="text-center">{$list.recharge_id}</td>
                                       
                                        <td class="text-center">
                                            <a href="javascript:;">
                                                {$list.username}【{$list.phone}】
                                            </a>
                                        </td>
                                        <td class="text-center">{$list.amount}</td>
                                        <td class="text-center">
                                            <if condition="$list.status eq 0">待付款<else/>充值完成</if>
                                        </td>
                                        <td class="text-center">
                                            <if condition="$list.pay_time neq 0">付款时间：{:date('Y-m-d,H:i:s',$list.pay_time)}<br/></if>
                                            <if condition="$list.transaction_id neq ''">第三方支付流水号：{$list.transaction_id}</if>
                                        </td>
                                        <td class="text-center">{:date('Y-m-d H:i:s',$list.add_time)}</td>

                                        <!--<td class="text-center">-->
                                            <!--&lt;!&ndash;<a href="{:U('order/detail',array('order_id'=>$list['order_id']))}" data-toggle="tooltip" title="" class="btn btn-info" data-original-title="查看详情"><i class="fa fa-eye"></i></a>&ndash;&gt;-->
                                            <!--<a href="javascript:void(0);" onclick="order_del(this)" data-url="{:U('order/delete_order')}" data-id="{$list['order_id']}" class="btn btn-danger" title="删除"><i class="fa fa-trash-o"></i></a>-->
                                            <!--&lt;!&ndash;<a href="{:U('order/delete_order',array('order_id'=>$list['order_id']))}"  data-toggle="tooltip" class="btn btn-danger" title="删除"><i class="fa fa-trash-o"></i></a>&ndash;&gt;-->
                                        <!--</td>-->
                                    </tr>
									
                                </volist>
                                </tbody>
                            </table>
                        </div>
                    </form>
                    <div class="row">
                        <div class="col-sm-6 text-left"></div>
                        <div class="col-sm-6 text-right">{$page}</div>
                    </div>
<script>
    $(".pagination  a").click(function(){
        var page = $(this).data('p');
        ajax_get_table('search-form2',page);
    });


    function order_del(obj) {
        layer.confirm('确认删除？', function () {
            $.ajax({
                type: 'post',
                url: $(obj).attr('data-url'),
                data: {id: $(obj).attr('data-id')},
                dataType: 'json',
                success: function (data) {
                    if (data.status == 1) {
                        layer.msg(data.msg,{icon:1,time:1000},function(){if(data.url){ window.location.href = data.url;}});
                    } else {
                        layer.msg(data.msg,{icon:2,time:2000},function(){if(data.url){ window.location.href = data.url;}});
                    }
                }
            })
        });
    }
</script>